MUSIC SPEED

This command will return an integer value representing the speed at which the music is playing.

  Syntax
Return Integer=MUSIC SPEED(Music Number)
  Parameters
Music Number
Integer
The music number

  Returns

This command will return an integer value representing the speed at which the music is playing

  Description

The default value is 100, as a percentage of the standard rate. A value of 50 means the music is playing at half the normal speed.

  Example Code
cls
load music "Dark Basic Professional\Media\Music\mp3\music space.mp3",1
play music 1
print "music speed ",music speed(1)
wait 1000*8
set music speed 1,200
print "music speed ",music speed(1)
do
loop
stop music 1
end
  See also

MUSIC Commands Menu
Index